home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CMDENABL.PAK / README.TXT < prev   
Text File  |  1997-05-06  |  831b  |  21 lines

  1. Copyright Borland International
  2. ObjectWindows (C) 1996
  3.  
  4. Title: CMDENABL Example
  5.  
  6. Keywords: TCommandEnabler;How to enable and disable commands
  7.  
  8. The CMDENABL example illustrates how to use the TCommandEnabler class.
  9. TCommandEnabler class allows you to enable and disable commands.
  10. Commands are either menu items or they can be buttons on a control bar.
  11. Starting with OWL 5, you can enable and disable controls on a dialog.
  12.  
  13.  
  14. TCommandEnablers require a change in thinking about enabling and
  15. disabling commands. Rather than explicitly putting statements in your
  16. application to enable and disable commands, OWL will routinely ask your
  17. application if it should enable or disable the command. In addition to
  18. enabling and disabling commands, you can also use the command enabler to
  19. check a menu item or set its text.
  20.  
  21.